# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=dnsenum
pkgver=1.2.4.2
pkgrel=0
pkgdesc="A tool to enumerate DNS info about domains"
url="https://github.com/fwaeytens/dnsenum"
arch="noarch"
license="GPL-2.0-or-later"
depends="perl-net-ip perl-net-dns perl-net-netmask perl-xml-writer perl-string-random"
source="$pkgname-$pkgver.tar.gz::https://github.com/fwaeytens/dnsenum/archive/$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	return 0
}

package() {
	cd "$builddir"
	install -Dm755 $pkgname.pl "$pkgdir"/usr/bin/$pkgname || return 1
}

sha512sums="c4ff6c6b6d6be0f60a3c784c259a51d51b6e0b72d1528efb8ed5ad038fd859d5884d13adb272b066f7b381a49b68ec6b507a9a94c2ca5061829051ff3adbc93b  dnsenum-1.2.4.2.tar.gz"
